#pragma once
#include <QtGui/QtGui>

class PngWidget : public QWidget
{
	Q_OBJECT
public:
	PngWidget(QWidget* parent=0);
	~PngWidget(void);

	void paintEvent(QPaintEvent *event);
	void resetSize();
public slots:
	void importFiles();
	void saveImage();
	void clearImage();
	void colsChanged(int i);
public:
	QList<QImage>	mImages;
	int				mCols;
	QSize			mMaxSize;
};
